{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "<center><img src=\"../image/CLBLOGO.jpg\" alt=\"创乐博\" style=\"width: 300px;\"/></center>\n",
    "\n",
    "# 5.OpenCV绘图函数使用\n",
    "\n",
    "@－－－－湖南创乐博智能科技有限公司－－－－<br>\n",
    "@  文件名：5.OpenCV绘图函数使用.ipynb <br>\n",
    "@  版本：V2.0 <br>\n",
    "@  author: zhulin<br>\n",
    "@  说明：OpenCV绘图函数使用<br>\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 1.画线\n",
    "让我们在黑色方块上画一条线\n",
    "cv2.line(image, starting cordinates, ending cordinates, color, thickness)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 载入库\n",
    "import cv2\n",
    "import numpy as np\n",
    "from matplotlib import pyplot as plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAzb0lEQVR4nO3dS2xc53338R+Hd47uNwpBgiaoSTl5i6yaol0UyaavXZNDSrzasnwVJfWSRd5NgKKLJll0UaB90SIr62JZtiSL9xkq75ugC2fXopsWRZFXVC9o4MCIbrZuvA/Jd/E/Qw6H5xySw5k5l/l+gAANKYtPbWf+Ouc5z/fUrK6urgoAAA+JoBcAAAg3BgUAwBeDAgDgi0EBAPDFoAAA+GJQAAB8MSgAAL4YFAAAXwwKAIAvBgVC4erVq6qpqdnwn6NHj+o73/mObt++venX19TU6Ac/+EHF1/nzn/9cNTU1Gh0d9f11Qa0PKIe6oBcA5Hv//ff14osvanV1Vb/+9a/14x//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QmCC\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 画一条5像素的对角蓝线\n",
    "image = np.zeros((512,512,3), np.uint8)\n",
    "#cv2.line(image, (startposition), (endposition), (Farbe der Linie), Linienbreite)\n",
    "cv2.line(image, (0,0), (511,511), (255,127,0), 5)\n",
    "cv2.line(image, (511,0), (0,511), (255,127,0), 5)\n",
    "\n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('Blue Line')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2.画矩形图形\n",
    "现在让我们画一个矩形<br>\n",
    "cv2.rectangle(image, starting vertex, opposite vertex, color, thickness)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAANoUlEQVR4nO3cW2jf9f3H8XdcMlvX2FU7F+Mp4FxbtMXqygqDMHtjq1KYk651wloZg3lnrUemdYMdcAh6tQpKRWm1HkBhUN2YqReuQnUYqbUyYYdquqCth9QTTfv5XzXQOV92+RtS5+MBufh98/38fu9vLr7P/L7fX9LRWmsFAJ/gmMkeAICjm1AAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQMKnuvffe6ujoGPvq7Oysk08+uZYvX15//etfJ+Q1h4aG6tZbb60XXnhhQp5/vLZs2VIdHR21ZcuWyR4FDtM52QNAVdX69etr9uzZ9eGHH9YzzzxTv/zlL2tgYKB27txZM2bM+Exfa2hoqH7+859XX19fnXvuuZ/pc8P/IqHgqHDOOefUt771raqq+u53v1sHDhyotWvX1mOPPVarVq2a5Ongi82lJ45Kh6IxPDw8tu25556rpUuX1gknnFBTpkyp+fPn10MPPfSxta+//nr95Cc/qdNOO62+/OUvV29vb1122WU1PDxcW7ZsqQULFlRV1apVq8Yued16661jr7F8+fLq6+urqVOnVl9fX61YsaL+8Y9/HPYahy6ZDQwM1E9/+tOaOXNmnXjiiXXppZfW0NDQYft+9NFHdc0111RPT08dd9xx1d/fX88//3z19fXVypUrP/VncaTHDRPFOwqOSn/729+qquqb3/xmVVUNDAzU4sWL69vf/natW7eupk+fXg8++GD94Ac/qPfff3/shPv666/XggULav/+/XXTTTfVvHnzas+ePfXkk0/WW2+9Veedd16tX7++Vq1aVT/72c/q4osvrqqqU089taqq/v73v9esWbNq+fLldcIJJ9Tu3bvrd7/7XS1YsKB27NhRM2fOPGzOH//4x3XxxRfXxo0ba9euXXXttdfWFVdcUU899dTYPqtWrapNmzbVddddV4sWLaodO3bU9773vXr33Xc/9edwpMcNE6rBJFq/fn2rqvbss8+2/fv3t5GRkfbEE0+0np6e1t/f3/bv399aa2327Nlt/vz5Y48PueSSS9rJJ5/cDhw40Fpr7corr2xdXV1tx44dn/ia27Zta1XV1q9f/6nzjY6Otn379rWvfOUr7c477/zY3FddddVh+992222tqtru3btba6299NJLrara9ddff9h+DzzwQKuq9qMf/Whs28DAQKuqNjAwMLbtSI8bJpJLTxwVFi5cWF1dXdXd3V2LFy+uGTNm1OOPP16dnZ316quv1s6dO+uHP/xhVVWNjo6OfV100UW1e/fueuWVV6qqavPmzXXBBRfUnDlzxjXHvn376vrrr69vfOMb1dnZWZ2dnTVt2rR677336uWXX/7Y/kuXLj3s8bx586qqxi5VPf3001VVtWzZssP2u+yyy6qzM7+h/2+OGyaSS08cFe67776aM2dOjYyM1KZNm+quu+6qFStW1ObNm8fuU6xZs6bWrFnzH9e/+eabVVX1xhtvjF1GGo/LL7+8/vSnP9XNN99cCxYsqOOPP746Ojrqoosuqg8++OBj+5944omHPT722GOrqsb23bNnT1VVff3rXz9sv87Ozo+t/Xf/zXHDRBIKjgpz5swZu4F9wQUX1IEDB+ruu++uRx55pObOnVtVVTfeeGNdeuml/3H9rFmzqqrqa1/7Wr322mvjmuGdd96p3//+97V27dq64YYbxrZ/9NFHtXfv3nE956EYDA8P1ymnnDK2fXR0dCwin+TQ/ZAjOW6YSELBUem2226rRx99tG655Zbavn17nXXWWTU4OFi/+tWv4rolS5bU/fffX6+88sonnkT//bf+Qzo6Oqq1Nvb9Q+6+++46cODAuI6jv7+/qqo2bdpU55133tj2Rx55pEZHR+PaWbNmHfFxw0QSCo5KM2bMqBtvvLGuu+662rhxY9111121ZMmSuvDCC2vlypV1yimn1N69e+vll1+uv/zlL/Xwww9XVdUvfvGL2rx5c/X399dNN91Uc+fOrbfffrueeOKJWr16dc2ePbvOPPPMmjp1am3YsKHmzJlT06ZNq97e3urt7a3+/v767W9/WzNnzqy+vr56+umn65577qmvfvWr4zqOs88+u1asWFG33357felLX6pFixbVSy+9VLfffntNnz69jjkm3yY80uOGCTXZd9P5Yjv06aFt27Z97HsffPBBO/3009tZZ53VRkdH2+DgYFu2bFk76aSTWldXV+vp6WmLFi1q69atO2zdrl272pVXXtl6enpaV1dX6+3tbcuWLWvDw8Nj+zzwwANt9uzZraurq1VVW7t2bWuttddee619//vfbzNmzGjd3d1t8eLFbfv27e2MM8447BNKnzT3f/rk0ocffthWr17dTjrppDZlypS2cOHCtnXr1jZ9+vR29dVXx7WttSM+bpgoHa21Nqmlgi+gP//5z/Wd73ynNmzYUJdffvlkjwORUMAE++Mf/1hbt26t888/v6ZOnVqDg4P1m9/8pqZPn14vvvhiTZkyZbJHhMg9Cphgxx9/fP3hD3+oO+64o0ZGRmrmzJm1ZMmS+vWvfy0SfC54RwFA5C+zAYiEAoBIKACIxn0z++DBgzU0NFTd3d3V0dHxWc4EwARrrdXIyEj19vZ+6h9+jjsUQ0N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ABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABAJBQCRUAAQCQUAkVAAEAkFAJFQABCNOxSttc9yDgAmwZGcy8cdipGRkfEuBeAocSTn8o42zrcGBw8erKGhoeru7q6Ojo7xPAUAk6S1ViMjI9Xb21vHHJPfM4w7FAB8MbiZDUAkFABEQgFAJBQAREIBQCQUAERCAUAkFABEQgFAJBQAREIBQCQUAET/Bxr+zQ+UPpqBAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 绘制一个矩形\n",
    "image = np.zeros((512,512,3), np.uint8)\n",
    "# eine negative Linienbreite füllt das viereck aus\n",
    "cv2.rectangle(image, (100,100), (300,250), (127,50,127), -1)\n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('Rectangle')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 3.绘制圆\n",
    "cv2.cirlce(image, center, radius, color, fill)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAf+0lEQVR4nO3dW2xcV8G38f+a2XP22I7t2I6dOHHOLS0NCfQrqpAq9S1FiPaqVwipVKhCrRAHIS5AXCGERIVAooKiIiGQ4IabInFRKkHRxwV909K3JKX53qZNYjuOE8eH+DTn2Xt9FxOnOc2aGcexPTPPT0Ki8aHjdDzP7LX2WstYa60AAKgitNkPAACwtREKAIAToQAAOBEKAIAToQAAOBEKAIAToQAAOBEKAIAToQAAOBEKtJSTJ0/qmWee0ejoqOLxuDo6OnT06FG98MILmp+flyQ98sgjeuSRR9bt3/nb3/5WxhiNjY2t2/cEthJvsx8AsF5+/etf6/nnn9ehQ4f0ne98R/fee69KpZL+9a9/6Ve/+pXeeOMNvfLKK/rlL3+52Q8VaCqEAi3hjTfe0HPPPafHHntMf/rTnxSLxa597LHHHtO3v/1t/eUvf5Ek3XvvvTW/n+/7KpfLN3wfoF0x9ISW8KMf/UjGGL388su3fXGPRqN68sknJd069DQ2NiZjjF544QX98Ic/1OjoqGKxmP7+979Lko4fP64nnnhCvb29isfj2rdvn775zW/Wf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zt4errr+pspS3uvC/+Wv/nF30Vcgw6dAMCAXQ4q7flnzxclmrbUj3ehrYH7vl86NxIy/a+AR5fsVXcNPrvl+yOvc/WUmStZV/RvMhFEAbuf6F+srFkq5cvHXIp6vfU2pb4+s1ps8WCUGLIhQAbrB4uazFyyx1xkda8wZsAMC6IRQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAACdCAQBwIhQAAKc1h8Jau56PAwCwCep5LV9zKJaXl9f6pQCALaKe13Jj13hpEASBpqamlE6nZYxZy7cAAGwSa62Wl5c1NDSkUMh9zbDmUAAA2gOT2QAAJ0IBAHAiFAAAJ0IBAHAiFAAAJ0IBAHAiFAAAJ0IBAHAiFAAAJ0IBAHAiFAAAJ0IBAHD6/5FIFC2ur5CzAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "image = np.zeros((512,512,3), np.uint8)\n",
    "#cv2.circle(image, (Zentrum), Radius, (15,75,50), -1) \n",
    "cv2.circle(image, (350, 350), 100, (15,75,50), 10) \n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('Circle')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 4.绘制椭圆\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAO5UlEQVR4nO3dfazVhX3H8c8FFIRQFY1S0CqhikXjQtbp6jQLmkwlyNQ0Emust0u2xId0nSFRp8zg09I/Otv6MOkecLFGWrfU4jLnWh/SZU1nGxyNFYw0MLUIFmnwxiutwG9/HLyCxe/wwr2/e7ivV3LC4cfvnPOFkPs+v6dzepqmaQIAH2JM2wMAMLIJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFB63169enp6cnDz744MCyBx98MD09PVm/fv3Ast7e3px44onDPh90C6Fg1Fu8eHG+853vtD0GjFjj2h4A2jZz5sy2R4ARzRYFXevll1/O5z73uRxzzDEZP358PvWpT+W+++77yM+zt11PPT09ue6667J06dKcfPLJGT9+fGbPnp3ly5fvsV5/f38WLVqUGTNmZMKECZkyZUo+/elP55FHHtljvZ/85CdZsGBBpkyZkgkTJmTOnDn59re//ZFnhTbYoqArvfjiiznrrLPyiU98Il/5ylcyderUPPnkk/niF7+YzZs359Zbb93v11ixYkWeeeaZ3HbbbZk0aVLuv//+XH755Rk3blw++9nPJkmuv/76PPTQQ7njjjsyZ86cvP3223nhhRfy5ptvDjzPM888kwsuuCBnnnlmHnjggRx++OFZvnx5Fi5cmP7+/vT29u73rDCkGuhC559/fnPcccc1W7du3WP5dddd10yYMKHZsmVLs27duiZJs2zZsoE/X7ZsWZOkWbdu3cCyq666qjnhhBP2eJ4kzWGHHdZs3LhxYNn27dubU045pfnkJz85sOy0005rLr744nLWU045pZkzZ07z7rvv7rF8/vz5zcc//vFmx44d+/i3hnbY9UTX2bZtW5566qlccsklmThxYrZv3z5wmzdvXrZt25Yf/ehH+/065513Xo499tiB348dOzYLFy7M2rVr89prryVJzjjjjDzxxBO58cYb8+yzz+add97Z4znWrl2bNWvW5IorrkiS35r19ddfz0svvbTfs8JQEgq6zptvvpnt27fnnnvuySGHHLLHbd68eUmSzZs37/frTJ069UOXvbdr6etf/3puuOGGPPbYY5k7d26mTJmSiy++OC+//HKSZNOmTUmSRYsW/das11xzzQGbFYaSYxR0nSOPPDJjx47NlVdemWuvvXav68yYMSN9fX379TobN2780GVHHXVUkmTSpElZsmRJlixZkk2bNg1sXVx00UVZs2ZNjj766CTJTTfdlEsvvXSvrzNr1qz9mhOGmlDQdSZOnJi5c+fm+eefz+mnn55DDz10r+vtbyieeuqpbNq0aWD3044dO/Ktb30rM2fOzHHHHfdb6x977LHp7e3NqlWr8tWvfjX9/f2ZNWtWTjrppKxatSp33XXXfs0DbREKutLXvva1nH322TnnnHNy9dVX58QTT0xfX1/Wrl2bxx9/PE8//fR+v8bRRx+dc889N4sXLx4462nNmjV7nCJ75plnZv78+Tn99NNz5JFHZvXq1XnooYfymc98JhMnTkySLF26NBdeeGHOP//89Pb2Zvr06dmyZUtWr16dlStX5tFHH93vWWEoCQVdafbs2Vm5cmVuv/323HLLLXnjjTdyxBFH5KSTTho4TrG/FixYkFNPPTW33HJLXnnllcycOTMPP/xwFi5cOLDOueeemxUrVuTuu+9Of39/pk+fns9//vO5+eabB9aZO3dunnvuudx555350pe+lF/96lc56qijMnv27Fx22WUHZFYYSj1N0zRtDwEjTU9PT6699trce++9bY8CrXPWEwAloQCg5BgF7IU9svA+WxQAlIQCgJJQAFAa9DGKnTt3ZsOGDZk8eXJ6enoO5EwADLGmadLX15dp06ZlzJh6m2HQodiwYUOOP/74wT4cgBHg1Vdf3etH0uxu0LueJk+ePNiHAjBC7MvP8kGHwu4mgO63Lz/LHcwGoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAkl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kFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEpCAUBJKAAoCQUAJaEAoCQUAJSEAoCSUABQEgoASkIBQEkoACgJBQAloQCgJBQAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUBh2KpmkO5BwAtGBffpYPOhR9fX2DfSgAI8S+/CzvaQa5abBz585s2LAhkydPTk9Pz2CeAoCWNE2Tvr6+TJs2LWPG1NsMgw4FAKODg9kAlIQCgJJQAFASCgBKQgFASSgAKAkFACWhAKAkFACUhAKAklAAUBIKAEr/B40xPvFqs9lXAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "image = np.zeros((512,512,3), np.uint8)\n",
    "cv2.ellipse(image,(256,256),(100,50),0,0,180,255,-1)\n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('ellipse')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 5.绘制多边形"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(4, 2)\n",
      "(4, 1, 2)\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAi8klEQVR4nO3deZgcZb238buzb8MWQiAElR0DCmjOEeRoCAhIZAkeAQEBo4LRgAHUo8ElEgRelBcExQWRQNiR3SAKyKYHUBQkbEFQZBtAiAkZQgJJps4fT0+mumemmEy6a+m+P9c1V+qZ6un+ZQj97apnK0VRFCFJUg/6ZV2AJCnfDApJUiKDQpKUyKCQJCUyKCRJiQwKSVIig0KSlMigkCQlMigkSYkMCuXehRdeSKlUWvU1YMAAxo4dy5QpU3jhhRdW67l23XVXdt111/oUKjWoAVkXIPXW7Nmz2WabbVi6dCl33303p512GnfddRcPP/www4cPz7o8qWEZFCqM7bbbjvHjxwMwceJEVq5cycknn8z111/PYYcdlnF1UuPy1pMKa6eddgLgmWeeYdmyZcyYMYNNN92UQYMGsfHGGzNt2jQWLVrU489HUcSWW27JXnvt1eXc66+/ztprr820adNWfe/RRx9lzz33ZNiwYYwaNYpp06Zx0003USqVuPPOOyt+/oILLmD77bdnyJAhrLfeehxwwAE8/vjjFY/59Kc/zYgRI3jqqaeYNGkSI0aMYJNNNuHLX/4yb775Zt9/MVKNGRQqrKeeegqAUaNGMXnyZM444wwOP/xwbrrpJk444QQuuugidttttx7fdEulEsceeyy33norTz75ZMW5OXPmsHjx4lVB8eKLLzJhwgSeeOIJfvKTnzBnzhza2to45phjujzvaaedxmc/+1m23XZbrr32Ws4++2zmzZvHzjvv3OV1li9fzn777cfuu+/ODTfcwGc+8xnOOussTj/99Fr8iqTaiKScmz17dgRE9913X7R8+fKora0tmjt3bjRq1KiopaUluuKKKyIg+t73vlfxc1deeWUEROedd96q702YMCGaMGHCqvbixYujlpaWaPr06RU/O27cuGjixImr2l/96lejUqkUPfrooxWP22uvvSIguuOOO6IoiqKFCxdGQ4cOjSZNmlTxuGeffTYaPHhwdOihh6763pFHHhkB0VVXXVXx2EmTJkVbb711r38/Ur15RaHC2GmnnRg4cCAtLS3ss88+bLjhhtx888088MADQLiVE3fggQcyfPhwfve73/X4nC0tLUyZMoULL7yQJUuWAHD77bfz2GOPVVwt3HXXXWy33XaMGzeu4ucPOeSQiva9997L0qVLu9SyySabsNtuu3WppVQqse+++1Z8773vfS/PPPNMz78IKWUGhQpjzpw53H///Tz44IO0trYyb948dtllFxYsWMCAAQMYNWpUxeNLpRIbbrghCxYsSHzeY489lra2Ni699FIAfvSjHzF27Fj233//VY9ZsGABo0eP7vKz1d/reK2NNtqoy2PHjBnTpZZhw4YxZMiQiu8NHjyYZcuWJdYspcmgUGG8+93vZvz48eywww4Vb8QjR45kxYoVvPLKKxWPj6KIl156ifXXXz/xebfYYgv23ntvzj33XJ577jluvPFGpk6dSv/+/Ste4+WXX+7ysy+99FJFe+TIkUDo06jW2tr6trVIeWRQqPB23313AC655JKK719zzTUsWbJk1fkk06dPZ968eRx55JH079+fo446quL8hAkTeOSRR3jssccqvn/FFVdUtHfeeWeGDh3apZbnn3+e22+/vVe1SHnjPAoV3h577MFee+3F1772NRYvXswuu+zCvHnzmDlzJjvuuCOHH354r55j3Lhx3HHHHXzqU59igw02qDh/3HHHccEFF7D33nsza9YsRo8ezWWXXcb8+fMB6NcvfOZaZ511+Na3vsWJJ57IEUccwSGHHMKCBQs46aSTGDJkCDNnzqz9L0CqM68oVHilUonrr7+eE044gdmzZzNp0qRVQ2Vvv/12Bg8e3KvnOeiggwC6HfI6ZswY7rrrLrbaaiumTp3KYYcdxqBBg5g1axYQAqLDjBkzOP/883nooYeYPHkyxxxz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hgwKSVLtGBSSpESFD4oVwINZFyFJDazwQfEGcErWRUhSAyt8UHTnGEKASJLWXEMGRSuVe2lLkvquIYIionO9p3YMCUmqpYYIipuBbwOvAScCt2ZbjiQ1lAFZF1ALKwgd2s8Al2RciyQ1moa4ouhgSEhS7TVUUEiSas+gkCQlMigkSYkMCklSoj4HRRQ5W0GSiq437+V9Doq2tra+/qgkKSd6815eivp4adDe3k5raystLS2USqW+PIUkKSNRFNHW1saYMWPo1y/5mqHPQSFJag52ZkuSEhkUkqREBoUkKZFBIUlKZFBIkhIZFJKkRAaFJCmRQSFJSmRQSJISGRSSpEQGhSQpkUEhSUr0f6Ub4kR4ExogAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "mage = np.zeros((512,512,3), np.uint8)\n",
    "\n",
    "# 让我们定义四个点\n",
    "pts = np.array( [[10,50], [400,50], [90,200], [50,500]], np.int32)\n",
    "\n",
    "print(pts.shape)\n",
    "# 现在让我们以折线\n",
    "pts = pts.reshape((-1,1,2))\n",
    "print(pts.shape)\n",
    "\n",
    "cv2.polylines(image, [pts], True, (0,0,255), 3)\n",
    "\n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('Polygon')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 6.在图片上增加文字\n",
    "cv2.putText(image, 'Text to Display', bottom left starting point, Font, Font Size, Color, Thickness)\n",
    "\n",
    "- FONT_HERSHEY_SIMPLEX, FONT_HERSHEY_PLAIN\n",
    "- FONT_HERSHEY_DUPLEX,FONT_HERSHEY_COMPLEX \n",
    "- FONT_HERSHEY_TRIPLEX, FONT_HERSHEY_COMPLEX_SMALL\n",
    "- FONT_HERSHEY_SCRIPT_SIMPLEX\n",
    "- FONT_HERSHEY_SCRIPT_COMPLEX"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAGeCAYAAACKOUadAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjYuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/P9b71AAAACXBIWXMAAA9hAAAPYQGoP6dpAAAiEElEQVR4nO3df3xU9Z3v8feZJISEBAgJIQkoCAIGoSBSRRACgq1WWrbqdrt90Irr3bZq1/62xd57pbX7uGtbeq22VNfdilhs97Zd215cvWohiBIUFawUpQryM4ACAQIhJJk5949vhvn9yeT3BF/PxyMPyJyZM2dOzpz3+f48nu/7vgAASCHQ2xsAAMhsBAUAwERQAABMBAUAwERQAABMBAUAwERQAABMBAUAwERQAABMBAW6xYoVK+R5nl555ZWkyxcsWKBRo0Z1aN2LFy9OeO2oUaO0ePHiDq0v3oIFC1RYWKiWlpaYxzdv3izP81ReXp7wmvXr18vzPN1///1dsg3V1dXyPE/V1dVtPjfZ/ti1a5c8z9OPfvSjLtkefLARFECcuXPn6uTJkwkhV11drQEDBujgwYN66623EpaFXwucawgKIE74ZB9/NV9dXa2FCxeqvLxca9euTVhWUlKiiRMnduq9m5ubE0oyQG8jKJAxfN/X8uXLNWXKFOXl5amoqEg33nijdu7c2aH17dmzR4sWLVJpaalyc3NVWVmpZcuWKRQKma+bMmWKioqKYoIiFApp/fr1mjNnjqqqqmKCoqmpSTU1NZozZ448z5Mkbd26VQsXLlRRUZH69++vKVOm6NFHH415n3D10mOPPaavf/3rGj58uHJzc/XOO++k3LYVK1Zo/PjxZz/PypUrO7BngPbJ7u0NwLktGAwmvUJONmnxF77wBa1YsUJ33HGH7r33Xh09elTf+973NGPGDL3++usaNmxY2u/7/vvva8aMGWpqatI999yjUaNGafXq1frGN76hHTt2aPny5SlfGwgENHv2bD333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a9acDYbo987Pz9f06dPb9Vkkafz48SovL9evfvWrmI4Au3fv1oYNG9q9PqA9CApkhJkzZ+rzn/+8br75Zt15551avXq11q5dq8cff1y33Xabfv7zn7drfV/96lc1fPhwXXfddXr44Yf1zDPP6Mtf/rKWL1+uW2+9VePGjWtzHeGT/xNPPBFTmpCkiRMnqri4WE888YSGDx+usWPHnl129913KycnR3PnztWqVav01FNPadGiRXryySe1dOnShGq3dAQCAd1zzz169dVX9clPflJPPvmkVq1apfnz5yetetq9e7eys7P14x//uN3vBcSj6gkZ46GHHtL06dP10EMPafny5QqFQqqoqNDMmTMTGqXbMnToUG3YsEFLlizRkiVLdOLECY0ePVo/+MEP9LWvfS2tdUyYMEFlZWU6ePBgQlB4nqdZs2bp97//vebMmROzbPz48dqwYYPuuusu3X777Tp9+rQqKyv1yCOPdGqakVtuuUWSdO+99+r666/XqFGjdNddd2ndunUJjf2+7ysYDLY5ZgRIh+f7STq0AwDQiqonAICJoAAAmAgKAICJoAAAmAgKAICJoAAAmDo8jiIUCqm2tlaFhYVpTUEAAMgcvu+rvr5eFRUVbU5T3+GgqK2tTZgdEwDQt+zdu1cjRowwn9PhqqfCwsKOvhQAkCHSOZd3OCiobgKAvi+dczmN2QAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAE0EBADARFAAAU3Zvb0DGG10iZaWRp8GQtPNw6uXZAemCkvTes6FJ2n8sved2l/OKpP45iY+fbpL2HWv79aOKpZysxMfrG6WDJzq9eX3GwP7SsIHpPffwSamuIfaxIflSY4s0qL90IG6/5eVII4raXu+7h6WWUHrb0FelOl67+7s0OE8aWph82c73paDfvvX1y3LHzOFTnd+2LkRQWC4fJd1elfwAjHemRfrZOmnju8mXL5wsfWqq5Hltr+vgCemn1dJf32vP1nadCWXSP82RigsSl71XLz1QLW0/lPr1l54vfalKGpCbuGz3Uff6PUe7ZFMzWv8c6YuzpGkj03v+n/dL96+VTjS63wfnub9DXYML3p+tk3a0XowEPOlzl0vzLrLX6fvSbzdLv3mtwx8j411c7vbTkAGJy96rlx5YK23vhu/SgH7SrbOlS85LXOb70qqXpT++kf76LhslTR4unT9E2rxX+v3rUqidQdNNqHpK5eJy6R9mpBcSkpSbLd18hTSpInHZRyqlv5mcXkhIUtlAdwAOyU9/e7tK2UB3cksWEpJUWih95SppWIqrqHGl0i0zkoeEJI0cIn1zvvuSnetumeFCM10fGu72vSR5kr4+X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wEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwEBQDARFAAAEwdDgrf97tyOwAAvSCdc3mHg6K+vr6jLwUAZIh0zuWe38GiQSgUUm1trQoLC+V5XkdWAQDoJb7vq76+XhUVFQoE7DJDh4MCAPDBQGM2AMBEUAAATAQFAMBEUAAATAQFAMBEUAAATAQFAMBEUAAATAQFAMBEUAAATAQFAMBEUAAATP8fvrG2uqcxy+cAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "image = np.zeros((512,512,3), np.uint8)\n",
    "\n",
    "cv2.putText(image, 'Hello World!', (75,290), cv2.FONT_HERSHEY_COMPLEX, 2, (100,170,0), 3)\n",
    "\n",
    "image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)\n",
    "\n",
    "plt.imshow(image),plt.title('Hello World!')\n",
    "plt.xticks([]), plt.yticks([]) # 隐藏 x 轴和 y 轴上的刻度值\n",
    "plt.show()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
